package com.gamehall.core;

public class TianDaKengCompare {
	private int soloId = -1;
	private int bySoloId = -1;
	
	public TianDaKengCompare(int soloId,int bySoloId) {
		this.soloId = soloId;
		this.bySoloId = bySoloId;
	}

	public int getSoloId() {
		return soloId;
	}

	public void setSoloId(int soloId) {
		this.soloId = soloId;
	}

	public int getBySoloId() {
		return bySoloId;
	}

	public void setBySoloId(int bySoloId) {
		this.bySoloId = bySoloId;
	}
	
	public boolean checkCompar(int soloId,int bySoloId){
		if((soloId == this.soloId && this.bySoloId == bySoloId) || (soloId == this.bySoloId && this.soloId == bySoloId)){
			return true;
		}
		return false;
	}
	
}
